package com.ruoyi.yiqikan.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 观影房对象 tbl_video_room
 * 
 * @author fay
 * @date 2022-11-24
 */
public class VideoRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 房间号 */
    @Excel(name = "房间号")
    private String roomId;

    /** 房间名 */
    @Excel(name = "房间名")
    private String roomName;

    /** 用户列表 */
    @Excel(name = "用户列表")
    private String usersId;

    /** 管理员ID */
    @Excel(name = "管理员ID")
    private String adminId;

    /** 聊天记录 */
    @Excel(name = "聊天记录")
    private String msg;

    /** 电影地址 */
    @Excel(name = "电影地址")
    private String curUrl;

    /** 当前观影时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "当前观影时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date curTime;

    /** 当前观影倍速 */
    @Excel(name = "当前观影倍速")
    private Integer curSpeed;

    /** 播放状态 */
    @Excel(name = "播放状态")
    private String curIfplay;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRoomId(String roomId) 
    {
        this.roomId = roomId;
    }

    public String getRoomId() 
    {
        return roomId;
    }
    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }
    public void setUsersId(String usersId) 
    {
        this.usersId = usersId;
    }

    public String getUsersId() 
    {
        return usersId;
    }
    public void setAdminId(String adminId) 
    {
        this.adminId = adminId;
    }

    public String getAdminId() 
    {
        return adminId;
    }
    public void setMsg(String msg) 
    {
        this.msg = msg;
    }

    public String getMsg() 
    {
        return msg;
    }
    public void setCurUrl(String curUrl) 
    {
        this.curUrl = curUrl;
    }

    public String getCurUrl() 
    {
        return curUrl;
    }
    public void setCurTime(Date curTime) 
    {
        this.curTime = curTime;
    }

    public Date getCurTime() 
    {
        return curTime;
    }
    public void setCurSpeed(Integer curSpeed) 
    {
        this.curSpeed = curSpeed;
    }

    public Integer getCurSpeed() 
    {
        return curSpeed;
    }
    public void setCurIfplay(String curIfplay) 
    {
        this.curIfplay = curIfplay;
    }

    public String getCurIfplay() 
    {
        return curIfplay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomId", getRoomId())
            .append("roomName", getRoomName())
            .append("usersId", getUsersId())
            .append("adminId", getAdminId())
            .append("msg", getMsg())
            .append("curUrl", getCurUrl())
            .append("curTime", getCurTime())
            .append("curSpeed", getCurSpeed())
            .append("curIfplay", getCurIfplay())
            .toString();
    }
}
